﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="TransactionSearch.aspx.cs" Inherits="NETMovie.UI.Web.Reports.TransactionSearch" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager ID="scriptMan" runat="server" AjaxFrameworkMode="Enabled" />
    <table cellspacing="0" cellpadding="2" border="0" style="width:100;">
        <tr style="width:100%;">
            <td style="width:20%;" align="center">
                <asp:Label ID="lblStartDate" runat="server" EnableViewState="false" Text="Start Date" />
            </td>
            <td style="width:30%;">
                
                <asp:UpdatePanel ID="pnlStartDate" runat="server" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <asp:TextBox ID="txtStartDate" runat="server" />
                        <asp:ImageButton ID="imgStartDate" runat="server" ImageUrl="~/Images/calendar.png"
                            onclick="imgStartDate_Click" />
                    </ContentTemplate>
                </asp:UpdatePanel> 
            </td>
            <td style="width:20%;" align="center">
                <asp:Label ID="lblEndDate" runat="server" EnableViewState="false" Text="End Date" />
            </td>
            <td style="width:30%;">
                <asp:UpdatePanel ID="pnlEndDate" runat="server" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <asp:TextBox ID="txtEndDate" runat="server" />
                        <asp:ImageButton ID="imgEndDate" runat="server" ImageUrl="~/Images/calendar.png"
                            onclick="imgEndDate_Click" />
                    </ContentTemplate>
                </asp:UpdatePanel> 
            </td>
        </tr>
        <tr style="width:100%;">
            <td style="width:20%;">
                &nbsp;</td>
            <td style="width:30%;">
                
                <asp:UpdatePanel ID="pnlStartDateCalendar" runat="server" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <div>
                            <asp:Calendar ID="calStartDate" runat="server" Visible="false" 
                                onselectionchanged="calStartDate_SelectionChanged" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel> 
            </td>
            <td style="width:20%;">
                &nbsp;</td>
            <td style="width:30%;">
                <asp:UpdatePanel ID="pnlEndDateCalendar" runat="server" ChildrenAsTriggers="true">
                    <ContentTemplate>
                        <div>
                            <asp:Calendar ID="calEndDate" runat="server" Visible="false"
                                onselectionchanged="calEndDate_SelectionChanged" />
                        </div>
                    </ContentTemplate>
                </asp:UpdatePanel> 
            </td>
        </tr>
        <tr style="width:100%;">
            <td colspan="4">
                <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                    onclick="btnSubmit_Click" />&nbsp;<input type="reset" id="btnReset" value="Reset" />
            </td>
        </tr>
    </table>
</asp:Content>
